package com.skyable.device.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @auther GaoYuan
 * @date 2019/11/15 13:48
 * @desc
 */
@Data
@TableName("bind_info")
public class DeviceBindInfo {

    @TableId(type = IdType.AUTO)
    private Long id; //主键ID
    private Long uid;
    private String physicalDeviceId;
    private Integer userRole;
    private Date craeteTime;
    private Date updateTime;

    @TableField(exist = false)
    private Integer domainId;

}
